package com.medic.entity.group.pain;

import java.util.List;

/**
 * 服药的药品信息
 * @author Mr.zhang
 *
 */
public class Medic {
	private int medicId;
	/**
	 * 药品名字
	 */
	private String medicName;
	/**
	 * 药品剂量的单位
	 */
	private String medicUnit;
	/**
	 * 药品的服用方式
	 */
	private String takeType;
	/**
	 * 添加者（患者）id
	 */
	private int sikerId;
	/**
	 * 患者对应的openId（不用存入数据库，关联获取即可）
	 */
	private String openId;
	/**
	 * 服药提醒 （缓存中用到）
	 */
	private List<Alert> alert;

	public int getMedicId() {
		return medicId;
	}

	public void setMedicId(int medicId) {
		this.medicId = medicId;
	}

	public String getMedicName() {
		return medicName;
	}

	public void setMedicName(String medicName) {
		this.medicName = medicName;
	}

	public String getMedicUnit() {
		return medicUnit;
	}

	public void setMedicUnit(String medicUnit) {
		this.medicUnit = medicUnit;
	}

	public String getTakeType() {
		return takeType;
	}

	public void setTakeType(String takeType) {
		this.takeType = takeType;
	}

	public int getSikerId() {
		return sikerId;
	}

	public void setSikerId(int sikerId) {
		this.sikerId = sikerId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public List<Alert> getAlert() {
		return alert;
	}

	public void setAlert(List<Alert> alert) {
		this.alert = alert;
	}

	@Override
	public String toString() {
		return "Medic [medicId=" + medicId + ", medicName=" + medicName + ", medicUnit=" + medicUnit + ", takeType="
				+ takeType + ", sikerId=" + sikerId + ", openId=" + openId + ", alert=" + alert + "]";
	}
}
